package software.hust.com.hust_last.presenter;

import java.lang.ref.WeakReference;

public class BasePresenter<T> {
    private WeakReference<T> mView;

    public BasePresenter(T view) {
        mView = new WeakReference<>(view);
    }

    protected T getView() {
        return mView.get();
    }
}
